package com.aspose.cells;

class znb {
   Worksheet a;
   String b;
   String c;
   AutoFilter d;
   double e = -1.0D;
   double f = -1.0D;
   boolean g = false;
   PaneCollection h;
   zbcj i;
   PageSetup j;
   HorizontalPageBreakCollection k;
   VerticalPageBreakCollection l;
   Outline m;
   com.aspose.cells.b.a.zh n;
   short o;
   private int s;
   CellArea p = new CellArea();
   private int t;
   private int u = 182;
   private int v = 0;
   private int[] w = new int[]{100, 60, 100};
   private byte x;
   private boolean y = true;
   int q = 1;
   zakp r;
   private int z = 64;

   znb(Worksheet var1) {
      this.a = var1;
      this.r = new zakp(false);
      this.q = var1.getIndex() + 1;
      this.o = 4;
   }

   int a() {
      return this.d == null ? 0 : this.d.f();
   }

   AutoFilter b() {
      if (this.d == null) {
         this.d = new AutoFilter(this.a, this);
      }

      return this.d;
   }

   PaneCollection c() {
      if (this.h == null) {
         this.h = new PaneCollection(this.a);
      }

      return this.h;
   }

   zbcj d() {
      if (this.i == null) {
         this.i = new zbcj(this.a);
      }

      return this.i;
   }

   PageSetup e() {
      if (this.j == null) {
         this.j = new PageSetup(this.a, this);
      }

      return this.j;
   }

   HorizontalPageBreakCollection f() {
      if (this.k == null) {
         this.k = new HorizontalPageBreakCollection();
      }

      return this.k;
   }

   VerticalPageBreakCollection g() {
      if (this.l == null) {
         this.l = new VerticalPageBreakCollection();
      }

      return this.l;
   }

   Outline h() {
      return this.m;
   }

   public int i() {
      return this.s;
   }

   public void a(int var1) {
      this.s = var1;
   }

   public int j() {
      return this.t;
   }

   public void b(int var1) {
      zakq.b(var1);
      this.t = var1;
   }

   boolean k() {
      return (this.o & 1) != 0;
   }

   void a(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 1);
      } else {
         this.o = (short)(this.o & -2);
      }

   }

   boolean l() {
      return (this.o & 2) != 0;
   }

   void b(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 2);
      } else {
         this.o = (short)(this.o & -3);
      }

   }

   boolean m() {
      return (this.o & 4) != 0;
   }

   void c(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 4);
      } else {
         this.o = (short)(this.o & -5);
      }

   }

   boolean n() {
      return (this.o & 8) != 0;
   }

   void d(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 8);
      } else {
         this.o = (short)(this.o & -9);
      }

   }

   boolean o() {
      return (this.o & 32) != 0;
   }

   void e(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 32);
      } else {
         this.o = (short)(this.o & -33);
      }

   }

   boolean p() {
      return (this.o & 128) != 0;
   }

   void f(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 128);
      } else {
         this.o &= -129;
      }

   }

   boolean q() {
      return (this.o & 256) != 0;
   }

   void g(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 256);
      } else {
         this.o &= -257;
      }

   }

   boolean r() {
      return (this.o & 512) != 0;
   }

   void h(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 512);
      } else {
         this.o &= -513;
      }

   }

   boolean s() {
      return (this.o & 1024) != 0;
   }

   void i(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 1024);
      } else {
         this.o &= -1025;
      }

   }

   boolean t() {
      return (this.o & 2048) != 0;
   }

   void j(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 2048);
      } else {
         this.o &= -2049;
      }

   }

   boolean u() {
      return (this.o & 4096) != 0;
   }

   void k(boolean var1) {
      if (var1) {
         this.o = (short)(this.o | 4096);
      } else {
         this.o &= -4097;
      }

   }

   boolean v() {
      return (this.u & '\uffff' & 1) != 0;
   }

   void l(boolean var1) {
      if (var1) {
         this.u |= 1;
      } else {
         this.u &= 65534;
      }

   }

   public boolean w() {
      return (this.u & '\uffff' & 2) != 0;
   }

   public void m(boolean var1) {
      if (var1) {
         this.u |= 2;
      } else {
         this.u &= 65533;
      }

   }

   public boolean x() {
      return (this.u & '\uffff' & 4) != 0;
   }

   public void n(boolean var1) {
      if (var1) {
         this.u |= 4;
      } else {
         this.u &= 65531;
      }

   }

   boolean y() {
      return (this.u & '\uffff' & 8) != 0;
   }

   void o(boolean var1) {
      if (var1) {
         this.u |= 8;
      } else {
         this.u &= 65527;
      }

   }

   boolean z() {
      return (this.u & '\uffff' & 256) == 0;
   }

   void p(boolean var1) {
      if (var1) {
         this.u &= 65279;
      } else {
         this.u |= 256;
      }

   }

   public boolean A() {
      return (this.u & '\uffff' & 16) != 0;
   }

   public void q(boolean var1) {
      if (var1) {
         this.u |= 16;
      } else {
         this.u &= 65519;
      }

   }

   public boolean B() {
      return (this.u & '\uffff' & 128) != 0;
   }

   public void r(boolean var1) {
      if (var1) {
         this.u |= 128;
      } else {
         this.u &= 65407;
      }

   }

   int[] C() {
      return this.w;
   }

   public int D() {
      switch(this.v) {
      case 0:
         return this.w[0];
      case 1:
         return this.w[1];
      case 2:
         return this.w[2];
      default:
         return 100;
      }
   }

   public void c(int var1) {
      if (var1 >= 10 && var1 <= 400) {
         switch(this.v) {
         case 0:
            this.w[0] = var1;
            break;
         case 1:
            this.w[1] = var1;
            break;
         case 2:
            this.w[2] = var1;
         }
      }

   }

   public int E() {
      return this.v;
   }

   public void d(int var1) {
      this.v = var1;
   }

   public int F() {
      switch(this.x) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      default:
         return 0;
      }
   }

   public void e(int var1) {
      switch(var1) {
      case 0:
         this.x = 0;
         break;
      case 1:
         this.x = 1;
         break;
      case 2:
         this.x = 2;
      }

   }

   public boolean G() {
      return this.y;
   }

   public void s(boolean var1) {
      this.y = var1;
   }

   void f(int var1) {
      if (var1 >= 64) {
         this.r.a(true);
      } else {
         this.r.a(3, var1);
      }

   }

   int H() {
      if (this.r.a()) {
         return 64;
      } else {
         boolean var1 = false;
         boolean[] var2 = new boolean[]{var1};
         int var3 = this.r.a(this.a.c(), 64, var2);
         var1 = var2[0];
         return var3;
      }
   }

   int I() {
      return this.z;
   }

   void g(int var1) {
      this.z = var1;
   }
}
